Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Peter Liu's latest activity

Saturday, September 06 2008
15 NoMethodError in _login_bar.html.erb was updated in Restful Authentication
  • Peter Liu
    • Tag set to routing
    by Peter Liu at 1:42 PM

    I think I may have figured out. The problem is in the route. There is already a login_path and since my model is Login, it's causing a confusion with the routes...

  • Peter Liu
    Peter Liu commented at 1:33 PM

    I narrowed the problem down to login_path(login). That's where the problem is. BTW, I'm using Login as my model instead of User.

  • Peter Liu
    Peter Liu created the ticket at 1:23 PM

    I created a fresh rails and installed the rest_autentication plugin. I ran the generator with --aasm option and setup layouts/application.html.erb to include:

    ...